-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Manual Search] Log multi-epi as snatched #240
Conversation
8329425
to
966803c
Compare
why Im getting when I pick a result in snatchSelection.mako:
if searchResult has seeders? https://github.com/pymedusa/SickRage/blob/develop/sickbeard/classes.py#L35-L65 |
It's because |
1924c0e
to
50850c8
Compare
e41b8af
to
0341929
Compare
@@ -125,26 +125,27 @@ def collectEpisodesFromSearchThread(show): | |||
# Queued Searches | |||
searchstatus = SEARCH_STATUS_QUEUED | |||
for searchThread in sickbeard.searchQueueScheduler.action.get_all_ep_from_queue(show): | |||
episodes += getEpisodes(searchThread, searchstatus) | |||
if isinstance(searchThread, sickbeard.search_queue.ManualSearchQueueItem): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are you checking this? get_all_ep_from_queue() only returns ManualSearchQueueItem. So now your validating redundant?
searchstatus = SEARCH_STATUS_FINISHED | ||
|
||
episodes += getEpisodes(searchThread, searchstatus) | ||
if isinstance(searchThread, sickbeard.search_queue.ManualSearchQueueItem): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
b74c047
to
ccb1e79
Compare
Really @fernandog, I don't get it. You ask me for help? But in the mean time your doing all kinds of "fixups" that are just wrong. I'm done with this PR. |
ee077b6
to
f86e727
Compare
search_result.leechers = int(sql_return['leechers']) | ||
search_result.release_group = sql_return['release_group'] | ||
search_result.version = int(sql_return['version']) | ||
search_result.resultType = search_result.provider.provider_type |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@p0psicles is this still ok?
1bdcc0d
to
e5c203f
Compare
@labrys @OmgImAlexis @p0psicles need aprove |
Can say this fixes it, and works ofc lol |
@p0psicles lets leave this to other PR (Season pack support) so in this next one we add 'season search'. Something like this: @pymedusa/developers
Ideas? Agree? Disagree? |
@fernandog, I agree. Tough we really need to create a better looking snatch selection icon. Ps. Could you make sure this get's merged, before merging this into dev? #245 |
Fixes #229